/**
 * 
 */
package com.nari.interfaces.service;

import com.nari.coreframe.service.IGenericService;
import com.nari.interfaces.model.IMissionFailureLog;
import com.nari.platform.model.PageCond;
import com.nari.platform.model.ResultWithPageCond;

/**
 * 
 * @author Xiaopeng
 * @date 2013-12-8
 */
public interface IMissionFailureLogService extends IGenericService<IMissionFailureLog, String> {

	/**
	 * 审计缓存时间超过3小时的任务数据
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2013-12-8
	 */
	public void saveTimeoutBufferedDatasLog() throws Exception;
	
	/**
	 * 分页查询上传失败的任务数据
	 * @param measureMeterNo 上传任务对应的集中器号/热表表号(可选)
	 * @param recordTimeStart 上传任务对应的抄表日期起始日期(可选)
	 * @param recordTimeEnd 上传任务对应的抄表日期结束日期(可选)
	 * @param pageCond 
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2013-12-9
	 */
	public ResultWithPageCond<IMissionFailureLog> queryAuditLogPage(String measureMeterNo, 
			String recordTimeStart, String recordTimeEnd, PageCond pageCond) throws Exception;
}
